POST
/
v1
/
speak
/
higgsfield
Generate [Speak v2]
curl --request POST \
  --url https://platform.higgsfield.ai/v1/speak/higgsfield \
  --header 'Content-Type: application/json' \
  --header 'hf-api-key: <hf-api-key>' \
  --header 'hf-secret: <hf-secret>' \
  --data '{
  "params": {
    "input_image": {
      "type": "<string>",
      "image_url": "<string>"
    },
    "input_audio": {
      "type": "<string>",
      "audio_url": "<string>"
    },
    "prompt": "<string>",
    "quality": "high",
    "enhance_prompt": false,
    "seed": 42,
    "duration": 5
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "text2image_soul",
  "created_at": "2023-11-07T05:31:56Z",
  "jobs": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "job_set_type": "image2video",
      "status": "queued",
      "results": {
        "min": {
          "type": "<string>",
          "url": "<string>"
        },
        "raw": {
          "type": "<string>",
          "url": "<string>"
        }
      }
    }
  ],
  "input_params": {}
}

Headers

hf-api-key
string<uuid>
required
hf-secret
string
required

Body

application/json
params
object
required

Response

Successful Response

id
string<uuid>
required
type
enum<string>
required
Available options:
text2image_soul,
image2video
created_at
string<date-time>
required
jobs
Job · object[]
required
input_params
object
required